package com.luanye.enjoy.entity;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.experimental.Accessors;
@Data@Builder@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("enjoy_recipe")
public class Recipe  {
    @TableId
    private Integer recipeId;

    private String recipeName;
    
    private String avatar;
    
    private Double energy;
    
    private String taste;
    
    private String cookingMethod;
    
    private String time;
    
    private String difficulty;
    
    private Double protein;
    
    private Double carbohydrate;
    
    private String steps;
    
    private String stepsPic;
    
    private Integer typeId;

    @TableField(exist = false)
    private List<Map<String, BigDecimal>> composition;

}
